<template>
  <input type="text" @keyup.enter.exact="submit">
</template>

<script setup>
    const submit = () => {
        console.log('提交了。。。')
    }
</script>

<style>

</style>